package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.SysLog;
import com.k2data.k2app.domain.dto.SysLogCondDTO;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysLogMapper   extends K2Mapper<SysLog> {
    int deleteById(Long id);

    @Override
    int insert(SysLog record);

    @Override
    int insertSelective(SysLog record);

    SysLog get(Long id);

    @Override
    int updateByPrimaryKeySelective(SysLog record);

    @Override
    int updateByPrimaryKey(SysLog record);

    List<SysLog> selectByCondition(SysLogCondDTO sysLogCondDTO);
}